<include file="Public:head" />
<script src="__PUBLIC__/js/jquery.simplemodal.js"></script>
<link href="__PUBLIC__/default/css/home.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/default/css/classifieds_list.css" rel="stylesheet" type="text/css" />
<style type="text/css">
	#simplemodal-overlay {background-color:#000; cursor:wait;}
	#simplemodal-container {height:320px; width:600px; color:#111; background-color:#eee; border:4px solid #444; padding:12px;}
	#simplemodal-container code {background:#141414; border-left:3px solid #65B43D; color:#bbb; display:block; margin-bottom:12px; padding:4px 6px 6px;}
	#simplemodal-container a {color:#ddd;}
	#simplemodal-container a.modalCloseImg {background:url(__PUBLIC__/default/images/x.png) no-repeat; width:25px; height:29px; display:inline; z-index:3200; position:absolute; top:-15px; right:-16px; cursor:pointer;}
	#simplemodal-container #group_content {padding:8px;}
</style>
<div id="main">
    <div class="mian-right">
        <div class="conter-right">
<if condition="$count">
            <div class="conter-group">
                <div class="group">Results count</div>
                <ul>
                	<li><a href="__APP__/so.html?key={.key}&channel=cityguide">CityGuide({$count['cityguide']})</a></li>
                    <li><a href="__APP__/so.html?key={.key}&channel=classifieds">Classifieds({$count['classifieds']})</a></li>
                    <li><a href="__APP__/so.html?key={.key}&channel=event">Events({$count['event']})</a></li>
                    <li><a href="__APP__/so.html?key={.key}&channel=biz">China Fairs({$count['biz']})</a></li>
                    <li><a href="__APP__/so.html?key={.key}&channel=art">Other({$count['art']})</a></li>
                </ul>
             </div>
</if>
            <div class="conter-group">
                <div class="group">Hot Search</div>
<if condition="$hotkey">
				<ul>
	<volist name="hotkey" id="k">
              	<li><a href="__APP__/so.html?key={$k['keyword']}">{$k['keyword']}</a></li>
	</volist>
    			</ul>
</if>
             </div>

            <div class="advertisement">

            </div>
        </div>
        <div class="mian-center-n">
            <div class="jianbian">
				<!--span style="float:right; margin-right:10px;">
				<a href="__APP__/advso.html" target="_blank">Advanced Search</a></span-->
                <a href="/index.html">Home</a> > <a href="__APP__/so.html">Search</a> > 
				<if condition="$key">{.key} ></if>
            </div>
            <form action="__APP__/so.html">
            <fieldset>
            	<legend>Search</legend>
            	<p>
            		<label for="key">Keyword:</label>
            		<input type="text" name="key" id="key" value="{.key}" />  
                    <select name="channel">
                    	<option value="0">Select Channel</option>
                        <option value="cityguide">CityGuide</option>
                        <option value="classifieds">Classifieds</option>
                        <option value="event">Events</option>
                        <option value="biz">China Fairs</option>
                        <option value="art">Other</option>
                    </select>
            	</p>
            	<p><input type="submit" value="Submit" /></p>
            </fieldset>
            </form>
<if condition="$data">
            <div class="personals">
            
            <if condition="$_GET['key']">
            	<h1>Search "{.key}"</h1>
            </if>
                <p>
					About results "{$count['all']}" {$showpage}
                </p>
				
            </div>
			<div class="clear"></div>

<volist name="data" id="v">
	<php>
    	
    </php>
            <div class="personals-a">
                <div class="list-a">
                    <h6 class="so">
	<php>
    	if($_GET['channel']=='0' || empty($_GET['channel'])){
    </php>
                    <span>[ {$v['channel']|get_type} / {$v['typeid']|get_arctype} ]</span>
	<php>
	}else{
    </php>
    				<span>[ {$v['typeid']|get_arctype} ]</span>
    <php>
	}
    </php>
                    • <a href="__APP__/{$v['channel']|get_url='show'}/{$v['id']}.html">{$v['title']}</a>
                    </h6>
                </div>
            </div>
</volist>

		 <div class="fanye">
		 	{$showpage_bot}
            </div>
</if>            
        </div>
    </div>
    <div class="main-left">
        <div class="class_tree">
            <include file="Public:classifieds"/>
        </div>
        <div class="class_tree">
            <include file="Public:cityguide"/>
        </div>
        <div class="left_biz">
        	{$ad['left']}
        </div>
    </div>
</div>
<div id="group_content" style="display:none;">

</div>
<include file="Public:foot" />